Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

svsm: add missing Copy and Debug derives #154

Merged
merged 2 commits into from
Nov 20, 2023

Conversation

00xc
Copy link
Member

@00xc 00xc commented Nov 14, 2023

  • Add missing Copy derives, plus a lint to prevent their absence in the future.
  • Add missing Debug derives, plus a lint to prevent their absence in the future.

00xc added 2 commits November 14, 2023 15:43
Add missing Copy trait derives to multiple types. Copy requires Clone,
so derive it as well where needed. To prevent adding new copyable
types without the Copy derive, add a lint attribute to lib.rs.

Signed-off-by: Carlos López <[email protected]>
Add missing Debug trait derives to multiple types. To prevent adding
new types that could derive the type but don't, add a lint attribute
to lib.rs.

Signed-off-by: Carlos López <[email protected]>
@joergroedel joergroedel merged commit cf2693e into coconut-svsm:main Nov 20, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants